package com.faithbj.process;

import com.google.common.base.Function;

import java.io.Serializable;
import java.util.Map;

/**
 * User: xiongyuanwei
 * Date: 12-7-22
 * Time: 下午9:19
 */
public class DefaultExtractor implements Function<Map<String, Object>, Map<String, Object>>, Serializable {

    private static final DefaultExtractor instance = new DefaultExtractor();

    private DefaultExtractor() {

    }

    public static DefaultExtractor getInstance() {
        return instance;
    }

    @Override
    public Map<String, Object> apply(Map<String, Object> content) {
        return content;
    }
}
